#ifndef OPEN_FILE_DIALOG_INCLUDED
#define OPEN_FILE_DIALOG_INCLUDED

#include <windows.h>

typedef struct _OpenFileDialog
{
	TCHAR szFile[MAX_PATH];
	TCHAR szFileTitle[MAX_PATH];
	OPENFILENAME openFileName;
} OpenFileDialog;

extern void OpenFileDialog_init(OpenFileDialog* dialog, HWND hwnd, LPCTSTR lpstrFilter, 
	LPTSTR lpstrFileTitle, LPCTSTR lpstrDefExt);
extern BOOL OpenFileDialog_show(OpenFileDialog* dialog);

#endif